﻿using Partner.Surround.Authorization.Permissions.Dto;
using System.Collections.Generic;

namespace Partner.Surround.Authorization.Roles.Dto
{
    /// <summary>
    /// 角色信息(包含授权权限)响应Dto
    /// </summary>
    public class GetRoleForEditOutput
    {
        /// <summary>
        /// 角色信息
        /// </summary>
        public RoleEditDto Role { get; set; }

        /// <summary>
        /// 权限列表集合
        /// </summary>
        public List<FlatPermissionDto> Permissions { get; set; }

        /// <summary>
        /// 已授权权限
        /// </summary>
        public List<string> GrantedAppPermissions { get; set; }
    }
}